package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 游客表
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsVisitors对象", description="游客表")
public class ZsVisitors extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "游客主键")
    @TableId(value = "v_id", type = IdType.AUTO)
    private Integer vId;

    @ApiModelProperty(value = "游客证件号码")
    private String vIdCard;

    @ApiModelProperty(value = "证件类型，目前只有身份证。1, 身份证")
    private Integer vIdType;

    @ApiModelProperty(value = "游客真实姓名")
    private String vTruename;

    @ApiModelProperty(value = "所属用户的ID")
    private Integer uId;

    @ApiModelProperty(value = "最后一次更新时间")
    private Integer lastUpdateTime;

    @ApiModelProperty(value = "游客手机号")
    private String vPhone;


}
